package tech.popsoft.cip.manage.service;

import tech.popsoft.platform.common.base.BaseService;
import tech.popsoft.cip.manage.entity.ApiMessagePermission;


/**
 * 消息权限 服务类
 * @author wqliu
 * @date 2021-08-21
 *
 */
public interface ApiMessagePermissionService extends BaseService<ApiMessagePermission> {

    /**
     * 确认是否有权限
     * @param appCode 应用编码
     * @param topicCode 消息主题编码
     * @return true 有 false 无
     */
    boolean checkPermission(String appCode,String topicCode);

}
